package com.h3c.ptability.entity;

import java.util.Date;
import javax.persistence.*;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: PtAppApi
 *
 * @Author: l22886
 * @Date: 2022-03-14
 * Description: pt_app_api 实体
 * Version: 1.0
 */
@ApiModel(value="PtAppApi对象", description="")
@Table(name = "pt_app_api")
public class PtAppApi {


    @ApiModelProperty(value = "接口ID")
    @Column(name = "api_id")
    private String apiId;

    @ApiModelProperty(value = "应用ID")
    @Column(name = "app_id")
    private String appId;

    @ApiModelProperty(value = "接口名称")
    @Column(name = "api_name")
    private String apiName;

    @ApiModelProperty(value = "接口访问路径（支持正则表达式）")
    @Column(name = "api_path")
    private String apiPath;

    @ApiModelProperty(value = "接口说明")
    @Column(name = "api_remark")
    private String apiRemark;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "创建人工号")
    @Column(name = "creator_id")
    private String creatorId;

    public String getApiId() {
        return apiId;
    }

    public void setApiId(String apiId) {
        this.apiId = apiId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getApiName() {
        return apiName;
    }

    public void setApiName(String apiName) {
        this.apiName = apiName;
    }

    public String getApiPath() {
        return apiPath;
    }

    public void setApiPath(String apiPath) {
        this.apiPath = apiPath;
    }

    public String getApiRemark() {
        return apiRemark;
    }

    public void setApiRemark(String apiRemark) {
        this.apiRemark = apiRemark;
    }

    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    @Override
    public String toString() {
        return "PtAppApi{" +
                "apiId=" + apiId +
                ", appId=" + appId +
                ", apiName=" + apiName +
                ", apiPath=" + apiPath +
                ", apiRemark=" + apiRemark +
                ", createTime=" + createTime +
                ", creatorId=" + creatorId +
                "}";
    }
}
